Passed
Push — master ( 569135...48c1e5 )
by Dmytro
02:09
created

BaseResult   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 2
1
export default class BaseResult {
2
    #payload;
3
4
    constructor(payload) {
5
        this.#payload = payload;
6
    }
7
8
    get describe() {
9
        return `action finished: ${this.constructor.name}`;
10
    }
11
12
    get _payload() {
13
        return this.#payload;
14
    }
15
}
16